<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>网站后台管理</title>
<link href="__PUBLIC__/Admin/images/Admin_css.css" type=text/css rel=stylesheet>
<link rel="shortcut icon" href="__PUBLIC__/Admin/images/myfav.ico" type="image/x-icon" />
<import file= "Admin.js.admin,Admin.js.Ajax,Admin.js.Jquery"/> 
</head>
<body>
<table width="95%" border="0" cellspacing="2" cellpadding="3"  align=center class="admintable" style="margin-bottom:5px;">
    <tr>
      <td height="25" bgcolor="f7f7f7">快速查找：
        <SELECT onChange="javascript:window.open(this.options[this.selectedIndex].value,'main')"  size="1" name="s">
        <OPTION value="" selected>-=请选择=-</OPTION>
        <OPTION value="__URL__/index/">所有评论</OPTION>
        <OPTION value="__URL__/index/status/1">已审的评论</OPTION>
        <OPTION value="__URL__/index/status/0">未审的评论</OPTION>
      </SELECT> </td>
      <td bgcolor="f7f7f7">
	  <form name="form1" method="POST" action="__URL__/search">
        <input name="keywords" type="text" id="keyword" value="" class="s26">
        <input name="Submit2" type="submit" class="btn btn-info" value="搜索">
        </td>
    </form>
    </tr>
</table>
<div class="main_center">
<form name="myform" method="POST" action="__URL__/delall">
<table width="95%" border="0"  align=center cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" class="table table-bordered">
<tr> 
  <td colspan="6" align=left class="admintitle">评论列表</td>
</tr>
    <tr bgcolor="#f1f3f5" style="font-weight:bold;">
    <td width="5%" height="30" align="center" class="ButtonList">&nbsp;</td>
    <td width="47%" align="center" class="ButtonList">评论内容</td>
    <td width="17%" align="center" class="ButtonList">发布人</td>
    <td width="16%" height="25" align="center" class="ButtonList">发布时间</td>
    <td width="15%" height="25" align="center" class="ButtonList">管理</td>    
    </tr>
	<volist name="list" id="vo"> 
    <tr>
    <td height="25" align="center" bgcolor="f7f7f7"><input type="checkbox" value="{$vo.id}" name="id[]" onClick="unselectall(this.form)" style="border:0;"></td>
    <td height="25" bgcolor="f7f7f7"><a href="__ROOT__/{$urlmode}articles_{$vo.aid}{$suffix}" target="_blank">{$vo.content|msubstr=###,0,30,'utf-8'}...</a></td>
    <td height="25" align="center" bgcolor="f7f7f7">{$vo.ip}</td>
    <td height="25" align="center" bgcolor="f7f7f7"><span class="td">{$vo.ptime}</span></td>
    <td align="center" bgcolor="f7f7f7"><a href="__URL__/status/id/{$vo.id}/status/{$vo.status}"><eq name="vo.status" value="1">已审<else/><font color='red'>未审</font></eq></a>|<a href="__URL__/edit/id/{$vo.id}">回复</a>|<a href="__URL__/del/id/{$vo.id}" onClick="JavaScript:return confirm('确定要删除?')">删除</a></td>
    </tr>
	</volist>
<tr><td align="center" bgcolor="f7f7f7"><input name="Action" type="hidden"  value="Del"><input name="chkAll" type="checkbox" id="chkAll" onClick=CheckAll(this.form) value="checkbox" style="border:0"></td>
  <td colspan="5" bgcolor="f7f7f7">
    <div class="btn-group">
    <input name="Del" type="submit" class="btn btn-info btn-sm" id="Del" value="删除">
    <input name="Del" type="submit" class="btn btn-info btn-sm" id="Del" value="批量未审">
    <input name="Del" type="submit" class="btn btn-info btn-sm" id="Del" value="批量审核">
    </div></td>
  </tr><tr><td bgcolor="f7f7f7" colspan="6">
<div>
<ul class="pagination">
{$page}
</ul>
</div>
</td></tr></table>
</form>
</div>
</body>
</html>